package com.beimi.game.rule;

import java.util.concurrent.ScheduledExecutorService;
import java.util.concurrent.TimeUnit;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public abstract class Rule implements Runnable {

    protected static final Logger LOG = LoggerFactory.getLogger(Rule.class);
    
	public void deal() {

	}

	public void start(ScheduledExecutorService executor) {
		executor.scheduleAtFixedRate(this, 0, 33, TimeUnit.MILLISECONDS);
	}
}
